package com.yc.service.xcx.base;

import java.io.IOException;
import java.util.List;

import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;

import me.chanjar.weixin.mp.bean.result.WxMpUser;

public interface IXCXBaseService {

	   /**
     * HttpGet请求
     *
     * @param urlWithParams
     * @throws Exception
     */
    String requestGet(String urlWithParams) throws IOException;
    public String requestGetJson(String urlWithParams) throws IOException;
    /**
     * HttpPost请求
     *
     * @param url
     * @param params
     * @throws ClientProtocolException
     * @throws IOException
     */
    String requestPost(String url, List<NameValuePair> params) throws ClientProtocolException, IOException;
    
    

}
